﻿using System;

namespace DynamicFileDemo
{
    //借鉴曾耀辉同学的
    class Program
    {
        static void Main(string[] args)
        {
            var helper = new DynamicDemo();
            var employeeList = helper.ParseFile("Text.txt");
            foreach (var employee in employeeList)
            {
                Console.WriteLine($"{employee.Name} {employee.Sex}");
            }
            Console.ReadLine();
        }
    }
}
